package com.qixin.api.serviceimpl;

import com.qixin.api.bean.WeCarsource;
import com.qixin.api.mapper.WeCarsourceMapper;
import com.qixin.api.service.WeCarsourceService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.sql.SQLException;

/**
 * <p>
 * 车源加盟 服务实现类
 * </p>
 *
 * @author 何爱国
 * @since 2018-11-07
 */
@Service
public class WeCarsourceServiceImpl extends ServiceImpl<WeCarsourceMapper, WeCarsource> implements WeCarsourceService {

    @Override
    public Boolean insertCar(WeCarsource weCarsource)  {
        if (this.insert(weCarsource)){
            return true;
        }
        return false;

    }
}
